const Mock=require('mockjs')
const data=Mock.mock({
    "list|100":[{
        "id":"@id",
        "time":"@now",
        "user":/\d{11}/,
        "name":"@cname",
        "price|1-999":1,
        "statu":/已发货|未发货/,
        "autoTime":'15天',
        "date":"@date",
    }],
    "tablelist|30":[{
        "account":"@word(6,15)",
        "nickname":"@cname",
        "date":"@date",
        "lasttime":"@now",
        "flag":"@boolean",
        "id":"@id"
    }],
    "barData":{
        "tit":[
            "未知",
            "17岁以下",
            "18-24岁",
            "25-29岁",
            "30-39岁",
            "40-49岁",
            "50岁以下",
            ],
        "num":[654, 654, 4400, 5300, 6200, 3300, 1500]
    }
})

module.exports={
    data:data.list,
    tabData:data.tablelist,
    barData:data.barData
}